package com.ruoyi.mall.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;


/**
 * 商品分类对象 product_category
 *
 * @author ruoyi
 * @date 2025-03-28
 */
@Schema(description = "商品分类对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("product_category")
public class ProductCategoryDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类编号 */
    @TableId
    @Schema(title = "${comment}")
    private Long categoryId;

    /** 父分类编号 */
    @Excel(name = "父分类编号")
    @Schema(title = "父分类编号")
    private Long parentId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    @Schema(title = "分类名称")
    private String categoryName;

    /** 分类图 */
    @Excel(name = "分类图")
    @Schema(title = "分类图")
    private String picUrl;

    /** 分类排序 */
    @Excel(name = "分类排序")
    @Schema(title = "分类排序")
    private Integer orderNum;

    /** 开启状态 */
    @Excel(name = "开启状态")
    @Schema(title = "开启状态")
    private Integer status;

    /** 创建者 */
    @Excel(name = "创建者")
    @Schema(title = "创建者")
    private String creator;

    /** 更新者 */
    @Excel(name = "更新者")
    @Schema(title = "更新者")
    private String updater;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @Schema(title = "是否删除")
    private Integer deleted;

    /** 租户编号 */
    @Excel(name = "租户编号")
    @Schema(title = "租户编号")
    private Long tenantId;

}
